package view;

import java.awt.Graphics;

import model.Map;
import model.Wall;

public class MapGraphics implements Drawable{
	private boolean debugModeOn;
	private Map map;
	
	// constructor
	public MapGraphics(Map map, boolean debugMode){
		this.debugModeOn = debugMode;
		this.map = map;
	}	
	
	// draws the walls
	public void draw(Graphics g){
		if(debugModeOn){
			for (Wall wall : map.getWalls()){
				wall.draw(g);
			}
		}
	}

	// (4 testing !!)
	public void changeState(int stateIndex) {}	
}
